<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>基本用例</title>
</head>
<body>
<textarea name="content" data-provide="markdown" rows="10" placeholder="这里输入内容,支持Markdown语法."></textarea>
<style type="text/css">
    @import "../public/stylesheets/vendor/font.css";
    @import "../public/stylesheets/vendor/markdown.css";
    @import "../public/stylesheets/emoji/nature.css";
    @import "../public/stylesheets/emoji/object.css";
    @import "../public/stylesheets/emoji/people.css";
    @import "../public/stylesheets/emoji/place.css";
    @import "../public/stylesheets/emoji/Sysmbols.css";
    @import "../public/stylesheets/emoji/twemoji.css";
    @import "../public/stylesheets/vendor/font-awesome.css";
    @import "../public/stylesheets/vendor/sunburst.css";
</style>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/emojimap.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/jquery/jquery-2.1.3.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/highlight/highlight.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/he.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/marked.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/to-markdown.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/jsHtmlToText.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/tab.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/config.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/emoji.js"></script>
<script type="text/javascript" charset="utf-8" src="../public/javascripts/vendor/markdown/bootstrap-markdown.js"></script>
<script type="text/javascript" charset="utf-8"
        src="../public/javascripts/vendor/markdown/locale/bootstrap-markdown.zh.js"></script>
<script>
    $("textarea[data-provide='markdown']").markdown({
        language: 'zh',
        fullscreen: {
            enable: true
        },
        resize: 'vertical',
        localStorage: 'md',
        imgurl: '/cors/upload/ajaxUpload',
        base64url: '/cors/upload/base64Upload'
    });
</script>
</body>
</html>